def decorator(func):
    func('hi')
    print('this is decorator')

@decorator
def target(arg):
    print('this is target')
    print(arg)
    #return target

#target('hi')